package com.woniu.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 二手商品聊天表(UsedMessage)实体类
 *
 * @author makejava
 * @since 2020-03-23 09:48:25
 */
public class UsedMessage implements Serializable {
    private static final long serialVersionUID = 724461933608522870L;
    /**
    * 聊天信息Id
    */
    private Integer id;
    /**
    * 用户1Id
    */
    private Integer useroneId;
    /**
    * 用户2Id
    */
    private Integer usertwoId;
    /**
    * 聊天信息内容
    */
    private String message;
    /**
    * 信息发送时间
    */
    private Date createTime;
    /**
    * 当前用户Id
    */
    private Integer currentUserId;
    /**
    * 二手商品Id
    */
    private Integer productId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUseroneId() {
        return useroneId;
    }

    public void setUseroneId(Integer useroneId) {
        this.useroneId = useroneId;
    }

    public Integer getUsertwoId() {
        return usertwoId;
    }

    public void setUsertwoId(Integer usertwoId) {
        this.usertwoId = usertwoId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCurrentUserId() {
        return currentUserId;
    }

    public void setCurrentUserId(Integer currentUserId) {
        this.currentUserId = currentUserId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

}